<template>
  <div>
    <el-row>
      <el-col :xs="24" :sm="24" :lg="24" class="primary">{{ title }}</el-col>
    </el-row>
    <el-row v-if="isShow">
      <el-col :xs="24" :sm="24" :lg="24" class="border"></el-col>
    </el-row>
  </div>
</template>

<script>
  export default {
    props: {
      title: {
        type: String,
        required: true
      },
      isShow: {
        type: Boolean,
        default: true
      }
    }
  }
</script>

<style scoped>
  .border{
      box-sizing: content-box;
      height: 0;
      overflow: visible;
      margin-top: 1rem;
      margin-bottom: 1rem;
      border: 0;
      border-top: 1px solid rgba(0,0,0,.1);
  }
  .primary{
      color: #409EFF;
      font-size: 30px;
      margin-top: 20px;
      margin-bottom: 10px;
      font-weight: 400;      
  }
</style>